agents.anac.y2010.AgentSmith
Class AgentSmith

java.lang.Object
  extended by negotiator.Agent
      extended by agents.anac.y2010.AgentSmith.AgentSmith

public class AgentSmith
extends Agent

ANAC2010 competitor Agent Smith.


Field Summary
 
Fields inherited from class negotiator.Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
 
Constructor Summary
AgentSmith()
           
 
Method Summary
 Action chooseAction()
          When we take turn, this function is invoked.
 java.lang.String getName()
           
static java.lang.String getVersion()
          The version of this agent
 void init()
          The agent will be initialized here.
 void ReceiveMessage(Action pAction)
          This is called when a action was done, by the other agent.
 
Methods inherited from class negotiator.Agent
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentSmith

public AgentSmith()
Method Detail

getVersion

public static java.lang.String getVersion()
The version of this agent

Returns:

getName

public java.lang.String getName()
Overrides:
getName in class Agent
Returns:
name of the agent.

init

public void init()
The agent will be initialized here.

Overrides:
init in class Agent

ReceiveMessage

public void ReceiveMessage(Action pAction)
This is called when a action was done, by the other agent.

Overrides:
ReceiveMessage in class Agent

chooseAction

public Action chooseAction()
When we take turn, this function is invoked.

Specified by:
chooseAction in class Agent
Returns:
(should return) the bid-action the agent wants to make.